package cn.tsingyu.spring.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	@RequestMapping(value = "/index.html")
	public String loginPage(){
		return "login";
	}
	@RequestMapping(value = "/")
	public String index(){
		return "login";
	}
}
